$f: 19.2;

.home {
  // position: relative;
  width: 100%;

  .container {
    padding: 177/$f+vw 411/$f+vw 120/$f+vw 411/$f+vw;
    position: relative;
    background: #F9F6F1;

    .bg {
      position: absolute;
      width: 100%;
      top: 0;
      left: 0;
      pointer-events: none;
      overflow: hidden;
      max-height: 100%;
      img {
        display: block;
        max-height: 100%;
        width: 100%;
        object-fit: cover;
      }
    }

    .t {
      text-align: center;
      color: #000;
      font-size: 26/$f+vw;
      font-weight: 600;
      position: relative;
      z-index: 10;
    }

    .list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 66/$f+vw 135/$f+vw;
      margin-top: 51/$f+vw;
      position: relative;
      z-index: 10;
      .item {
        width: 100%;
        background: #FFF;
        box-shadow: 0px 4px 20/$f+vw 0px rgba(0, 0, 0, 0.25);

        .pic {
          overflow: hidden;
          img {
            width: 100%;
            display: block;
            object-fit: cover;
            transition: all 600ms;
            height: 288/$f+vw;
            // transform: scale(1.08);
          }
        }
        .text{
          padding: 14/$f+vw 26/$f+vw 60/$f+vw 26/$f+vw;
          .p1{
            color: #000;
            font-size: 20/$f+vw;
            font-weight: 700;
            margin-bottom: 2/$f+vw;
          }
          .tag{
            color: #000;
            font-size: 18/$f+vw;
          }
        }
        &:hover{
          .pic{
            img{
              transform: scale(1.05);
            }
          }
        }
      }
    }

  }



  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .container{
      padding: 20px 5% 60px 5%;
      .t{
        font-size: 18px;
      }
      .list{
        margin-top: 30px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        .item{
          .pic{
             img{
              height: 200px;
             }
          }
          .text{
            padding: 15px;
            .p1{
              font-size: 16px;
            }
            .tag{
              font-size: 14px;
              margin-top: 5px;
            }
          }
        }
      }
    }
  }
}